<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>机房管理</title>
    <link rel="stylesheet" href="/public/lib/layui-v2.5.4/layui/css/layui.css">
    <link rel="stylesheet" href="/public/css/macheinfo.css">
</head>
<body>
    <table id="demo" lay-filter="test"></table>
    <!-- 头部工具栏 -->
    <script type="text/html" id="toolbar">
		<div class="layui-inline">
			<div class="layui-input-inline">
				<input type="text" name="num" placeholder="请输入房间号" class="layui-input">
			</div>
			<button class="layui-btn layui-icon layui-icon-search" lay-event="search">查找</button>
			<button class="layui-btn layui-icon layui-icon-add-1" lay-event="add">添加数据</button>
			<button class="layui-btn layui-icon layui-icon-delete" lay-event="dels">批量删除</button>
			<button class="layui-btn layui-icon layui-icon-refresh" lay-event="refresh">刷新</button>
        </div>
    </script>
    <!-- 行工具栏 -->
    <script id="rowTools" type="text/html">
        <button class="layui-btn layui-btn-xs" lay-event="edit">编辑</button>
        <button class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</button>
    </script>
    <form class="form">
        <div class="form-rnum">
            <input type="text" name="rnum" placeholder="房间号" autofocus required class="rnum">
        </div>
        <div class="form-location">
            <input type="text" name="location" placeholder="地点" required class="location">
        </div>
        <div class="form-state">
            <input type="text" name="state" placeholder="状态" class="state">
        </div>
        <div class="form-renshu">
            <input type="text" name="renshu" placeholder="容纳人数" class="renshu">
        </div>
        <div class="form-devinfo">
            <label>设备描述：</label>
            <textarea name="devinfo" cols="22" rows="5" class="devinfo"></textarea>
        </div>
        <div class="form-submit">
            <button type="button" class="layui-btn layui-btn-sm submit">提交</button>
            <button type="reset" class="layui-btn layui-btn-sm reset">重置</button>
        </div>
    </form>
    <script src="/public/lib/jquery-easyui-1.8.7/jquery.min.js"></script>
    <script src="/public/lib/layui-v2.5.4/layui/layui.js"></script>
    <script src="/public/js/machineinfo.js"></script>
</body>
</html>